package com.css.fxfzysx.modules.vaolEngineering.repository;

import com.css.fxfzysx.modules.lifeline.entity.newEntity.SmxMainTableEntity;
import com.css.fxfzysx.modules.vaolEngineering.param.PageParam;

import java.util.HashMap;
import java.util.List;

public interface ValEngineeringRepository {
    HashMap<String,Object> page(PageParam param, int page, int size, List<String> roleList);

    String getCodeByType(String byType);

    void saveMainTable(SmxMainTableEntity entity);

    void updateCalculationStatus(String id,String state6,String state7,String state8,String state9,String state10, Integer calculationStatus);

    HashMap<String, Object> getVersionByType(Integer type, int page, int size, String userID);

    void updateModelBaseIds(String modelIds1, String modelIds2,String id);

    void updateCountStatusByModelIds1Id(String id);
    void updateCountStatusByModelIds2Id(String id);

    SmxMainTableEntity getById(String id);

    void updateVersionCalculationStatus(String versionId,Integer status);

    void deleteByTypeAndTableId(Integer k, String v,Integer bridgeType);

    void updateUpNetCalculationStatus(String tableId, int range);
}
